package com.dyrj.jzb.po;


import com.alibaba.fastjson.JSON;

import java.util.HashMap;

/**
 * KFEJZB6000	会员子账户开立	OpenCustAcctId
 * 会员在银行注册，并开立会员子账户，交易网会员代码即会员在平台端系统的会员编号。
 * 平台需保存银行返回的子账户账号，后续交易接口都会用到。会员属性字段为预留扩展字段，当前必须送默认值
 */
public class Po6000OpenCustAcctId extends PoBase{

    //功能标志 1:开户 3:销户 4: 为存量见证子帐号申请智能收款子账号
    private String FunctionFlag;
    //资金汇总账号
    private String FundSummaryAcctNo;
    //交易网会员代码
    private String TranNetMemberCode;
    //会员属性 00-普通子账户(默认) SH-商户子账户
    private String MemberProperty;
    //用户昵称
    private String UserNickname;
    //手机号码
    private String Mobile;
    //邮箱
    private String Email;
    //保留域
    private String ReservedMsg;

    //输出  见证子账户的账号  平台需要记录下来，后续所有接口交互都会用到
    private String SubAcctNo;
    //输出  需要开通智能收款，此处返回智能收款账号，正常情况下返回空。
//    private String ReservedMsg;

    public String getReqPara() {
        HashMap paraKeyDict = new HashMap();
        paraKeyDict.put("CnsmrSeqNo",this.getCnsmrSeqNo());
        paraKeyDict.put("MrchCode",this.getMrchCode());
        paraKeyDict.put("FunctionFlag",this.getFunctionFlag());
        paraKeyDict.put("FundSummaryAcctNo",this.getFundSummaryAcctNo());
        paraKeyDict.put("TranNetMemberCode",this.getTranNetMemberCode());
        paraKeyDict.put("MemberProperty",this.getMemberProperty());
        paraKeyDict.put("UserNickname",this.getUserNickname());
        paraKeyDict.put("Mobile",this.getMobile());
        paraKeyDict.put("Email",this.getEmail());
        paraKeyDict.put("ReservedMsg",this.getReservedMsg());

        return JSON.toJSONString(paraKeyDict);
    }

    public String getFunctionFlag() {
        return FunctionFlag;
    }

    public void setFunctionFlag(String functionFlag) {
        FunctionFlag = functionFlag;
    }

    public String getFundSummaryAcctNo() {
        return FundSummaryAcctNo;
    }

    public void setFundSummaryAcctNo(String fundSummaryAcctNo) {
        FundSummaryAcctNo = fundSummaryAcctNo;
    }

    public String getTranNetMemberCode() {
        return TranNetMemberCode;
    }

    public void setTranNetMemberCode(String tranNetMemberCode) {
        TranNetMemberCode = tranNetMemberCode;
    }

    public String getMemberProperty() {
        return MemberProperty;
    }

    public void setMemberProperty(String memberProperty) {
        MemberProperty = memberProperty;
    }

    public String getUserNickname() {
        return UserNickname;
    }

    public void setUserNickname(String userNickname) {
        UserNickname = userNickname;
    }

    public String getMobile() {
        return Mobile;
    }

    public void setMobile(String mobile) {
        Mobile = mobile;
    }

    public String getEmail() {
        return Email;
    }

    public void setEmail(String email) {
        Email = email;
    }

    public String getReservedMsg() {
        return ReservedMsg;
    }

    public void setReservedMsg(String reservedMsg) {
        ReservedMsg = reservedMsg;
    }

    public String getSubAcctNo() {
        return SubAcctNo;
    }

    public void setSubAcctNo(String subAcctNo) {
        SubAcctNo = subAcctNo;
    }
}
